<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>EOS.IO: eosio::generic_currency&lt; Token &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="eos-logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">EOS.IO
   &#160;<span id="projectnumber">DAWN3.0.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceeosio.html">eosio</a></li><li class="navelem"><a class="el" href="classeosio_1_1generic__currency.html">generic_currency</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="classeosio_1_1generic__currency-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">eosio::generic_currency&lt; Token &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="generic__currency_8hpp_source.html">generic_currency.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structeosio_1_1generic__currency_1_1account.html">account</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structeosio_1_1generic__currency_1_1currency__stats.html">currency_stats</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structeosio_1_1generic__currency_1_1issue.html">issue</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structeosio_1_1generic__currency_1_1transfer.html">transfer</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structeosio_1_1generic__currency_1_1transfer__memo.html">transfer_memo</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a10520caf18cda7f18adb03ccf7357db9"><td class="memItemLeft" align="right" valign="top">typedef Token&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeosio_1_1generic__currency.html#a10520caf18cda7f18adb03ccf7357db9">token_type</a></td></tr>
<tr class="separator:a10520caf18cda7f18adb03ccf7357db9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adea343e32af49682b5ab6177fb7a6c58"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classeosio_1_1table64.html">table64</a>&lt; <a class="el" href="classeosio_1_1generic__currency.html#ad8da6c376cee10ea81135e399ffa031e">code</a>, <a class="el" href="classeosio_1_1generic__currency.html#ab2ef05598c7040a8302471ecfdf4c495">accounts_table_name</a>, <a class="el" href="structeosio_1_1generic__currency_1_1account.html">account</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeosio_1_1generic__currency.html#adea343e32af49682b5ab6177fb7a6c58">accounts</a></td></tr>
<tr class="separator:adea343e32af49682b5ab6177fb7a6c58"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed11f3d3ccc7f8be5c0552ba4392b7f1"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classeosio_1_1table64.html">table64</a>&lt; <a class="el" href="classeosio_1_1generic__currency.html#ad8da6c376cee10ea81135e399ffa031e">code</a>, <a class="el" href="classeosio_1_1generic__currency.html#af9ff021f61805a1eec118685013c6952">stats_table_name</a>, <a class="el" href="structeosio_1_1generic__currency_1_1currency__stats.html">currency_stats</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeosio_1_1generic__currency.html#aed11f3d3ccc7f8be5c0552ba4392b7f1">stats</a></td></tr>
<tr class="separator:aed11f3d3ccc7f8be5c0552ba4392b7f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a5de588929b2080e247d6e5163193b282"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classeosio_1_1generic__currency.html#a10520caf18cda7f18adb03ccf7357db9">token_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeosio_1_1generic__currency.html#a5de588929b2080e247d6e5163193b282">get_balance</a> (<a class="el" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> owner)</td></tr>
<tr class="separator:a5de588929b2080e247d6e5163193b282"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a51b194cc27d13d9050b0d1514c921118"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeosio_1_1generic__currency.html#a51b194cc27d13d9050b0d1514c921118">set_balance</a> (<a class="el" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> owner, <a class="el" href="classeosio_1_1generic__currency.html#a10520caf18cda7f18adb03ccf7357db9">token_type</a> balance)</td></tr>
<tr class="separator:a51b194cc27d13d9050b0d1514c921118"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9bddd3a5b34e52d8f127973bfc90768d"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeosio_1_1generic__currency.html#a9bddd3a5b34e52d8f127973bfc90768d">on</a> (const <a class="el" href="structeosio_1_1generic__currency_1_1issue.html">issue</a> &amp;act)</td></tr>
<tr class="separator:a9bddd3a5b34e52d8f127973bfc90768d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a103e4501e8dc86fc3048ba5f04aa7892"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeosio_1_1generic__currency.html#a103e4501e8dc86fc3048ba5f04aa7892">on</a> (const <a class="el" href="structeosio_1_1generic__currency_1_1transfer.html">transfer</a> &amp;act)</td></tr>
<tr class="separator:a103e4501e8dc86fc3048ba5f04aa7892"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b46e79e82a7cb7f26b3ea6058e650a3"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeosio_1_1generic__currency.html#a4b46e79e82a7cb7f26b3ea6058e650a3">inline_transfer</a> (<a class="el" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> from, <a class="el" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> to, <a class="el" href="classeosio_1_1generic__currency.html#a10520caf18cda7f18adb03ccf7357db9">token_type</a> quantity, <a class="el" href="classeosio_1_1string.html">string</a> memo=<a class="el" href="classeosio_1_1string.html">string</a>())</td></tr>
<tr class="separator:a4b46e79e82a7cb7f26b3ea6058e650a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44be6e4a4fd023c9cdc40dcb17ab18e8"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeosio_1_1generic__currency.html#a44be6e4a4fd023c9cdc40dcb17ab18e8">apply</a> (<a class="el" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> c, <a class="el" href="group__types.html#gab0390a1836d20bbbb735af2fce1ad3e8">action_name</a> act)</td></tr>
<tr class="separator:a44be6e4a4fd023c9cdc40dcb17ab18e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:ad8da6c376cee10ea81135e399ffa031e"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeosio_1_1generic__currency.html#ad8da6c376cee10ea81135e399ffa031e">code</a> = token_type::code</td></tr>
<tr class="separator:ad8da6c376cee10ea81135e399ffa031e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af08bb98a1c7d7946844b716a4da6e951"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeosio_1_1generic__currency.html#af08bb98a1c7d7946844b716a4da6e951">symbol</a> = token_type::symbol</td></tr>
<tr class="separator:af08bb98a1c7d7946844b716a4da6e951"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2ef05598c7040a8302471ecfdf4c495"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeosio_1_1generic__currency.html#ab2ef05598c7040a8302471ecfdf4c495">accounts_table_name</a> = <a class="el" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(<a class="el" href="structeosio_1_1generic__currency_1_1account.html">account</a>)</td></tr>
<tr class="separator:ab2ef05598c7040a8302471ecfdf4c495"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9ff021f61805a1eec118685013c6952"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeosio_1_1generic__currency.html#af9ff021f61805a1eec118685013c6952">stats_table_name</a> = <a class="el" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(stat)</td></tr>
<tr class="separator:af9ff021f61805a1eec118685013c6952"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Member Typedef Documentation</h2>
<a id="adea343e32af49682b5ab6177fb7a6c58"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adea343e32af49682b5ab6177fb7a6c58">&#9670;&nbsp;</a></span>accounts</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Token &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classeosio_1_1table64.html">table64</a>&lt;<a class="el" href="classeosio_1_1generic__currency.html#ad8da6c376cee10ea81135e399ffa031e">code</a>, <a class="el" href="classeosio_1_1generic__currency.html#ab2ef05598c7040a8302471ecfdf4c495">accounts_table_name</a>, <a class="el" href="structeosio_1_1generic__currency_1_1account.html">account</a>&gt; <a class="el" href="classeosio_1_1generic__currency.html">eosio::generic_currency</a>&lt; Token &gt;::<a class="el" href="classeosio_1_1generic__currency.html#adea343e32af49682b5ab6177fb7a6c58">accounts</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Each user stores their balance in the singleton table under the scope of their account name. </p>

</div>
</div>
<a id="aed11f3d3ccc7f8be5c0552ba4392b7f1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aed11f3d3ccc7f8be5c0552ba4392b7f1">&#9670;&nbsp;</a></span>stats</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Token &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classeosio_1_1table64.html">table64</a>&lt;<a class="el" href="classeosio_1_1generic__currency.html#ad8da6c376cee10ea81135e399ffa031e">code</a>, <a class="el" href="classeosio_1_1generic__currency.html#af9ff021f61805a1eec118685013c6952">stats_table_name</a>, <a class="el" href="structeosio_1_1generic__currency_1_1currency__stats.html">currency_stats</a>&gt; <a class="el" href="classeosio_1_1generic__currency.html">eosio::generic_currency</a>&lt; Token &gt;::<a class="el" href="classeosio_1_1generic__currency.html#aed11f3d3ccc7f8be5c0552ba4392b7f1">stats</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a10520caf18cda7f18adb03ccf7357db9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a10520caf18cda7f18adb03ccf7357db9">&#9670;&nbsp;</a></span>token_type</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Token &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef Token <a class="el" href="classeosio_1_1generic__currency.html">eosio::generic_currency</a>&lt; Token &gt;::<a class="el" href="classeosio_1_1generic__currency.html#a10520caf18cda7f18adb03ccf7357db9">token_type</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a44be6e4a4fd023c9cdc40dcb17ab18e8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a44be6e4a4fd023c9cdc40dcb17ab18e8">&#9670;&nbsp;</a></span>apply()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Token &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="classeosio_1_1generic__currency.html">eosio::generic_currency</a>&lt; Token &gt;::apply </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a>&#160;</td>
          <td class="paramname"><em>c</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__types.html#gab0390a1836d20bbbb735af2fce1ad3e8">action_name</a>&#160;</td>
          <td class="paramname"><em>act</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a5de588929b2080e247d6e5163193b282"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5de588929b2080e247d6e5163193b282">&#9670;&nbsp;</a></span>get_balance()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Token &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classeosio_1_1generic__currency.html#a10520caf18cda7f18adb03ccf7357db9">token_type</a> <a class="el" href="classeosio_1_1generic__currency.html">eosio::generic_currency</a>&lt; Token &gt;::get_balance </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a>&#160;</td>
          <td class="paramname"><em>owner</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a4b46e79e82a7cb7f26b3ea6058e650a3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4b46e79e82a7cb7f26b3ea6058e650a3">&#9670;&nbsp;</a></span>inline_transfer()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Token &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="classeosio_1_1generic__currency.html">eosio::generic_currency</a>&lt; Token &gt;::inline_transfer </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a>&#160;</td>
          <td class="paramname"><em>from</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a>&#160;</td>
          <td class="paramname"><em>to</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classeosio_1_1generic__currency.html#a10520caf18cda7f18adb03ccf7357db9">token_type</a>&#160;</td>
          <td class="paramname"><em>quantity</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classeosio_1_1string.html">string</a>&#160;</td>
          <td class="paramname"><em>memo</em> = <code><a class="el" href="classeosio_1_1string.html">string</a>()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a9bddd3a5b34e52d8f127973bfc90768d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9bddd3a5b34e52d8f127973bfc90768d">&#9670;&nbsp;</a></span>on() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Token &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="classeosio_1_1generic__currency.html">eosio::generic_currency</a>&lt; Token &gt;::on </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structeosio_1_1generic__currency_1_1issue.html">issue</a> &amp;&#160;</td>
          <td class="paramname"><em>act</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a103e4501e8dc86fc3048ba5f04aa7892"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a103e4501e8dc86fc3048ba5f04aa7892">&#9670;&nbsp;</a></span>on() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Token &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="classeosio_1_1generic__currency.html">eosio::generic_currency</a>&lt; Token &gt;::on </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structeosio_1_1generic__currency_1_1transfer.html">transfer</a> &amp;&#160;</td>
          <td class="paramname"><em>act</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a51b194cc27d13d9050b0d1514c921118"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a51b194cc27d13d9050b0d1514c921118">&#9670;&nbsp;</a></span>set_balance()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Token &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="classeosio_1_1generic__currency.html">eosio::generic_currency</a>&lt; Token &gt;::set_balance </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a>&#160;</td>
          <td class="paramname"><em>owner</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classeosio_1_1generic__currency.html#a10520caf18cda7f18adb03ccf7357db9">token_type</a>&#160;</td>
          <td class="paramname"><em>balance</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="ab2ef05598c7040a8302471ecfdf4c495"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab2ef05598c7040a8302471ecfdf4c495">&#9670;&nbsp;</a></span>accounts_table_name</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Token &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> <a class="el" href="classeosio_1_1generic__currency.html">eosio::generic_currency</a>&lt; Token &gt;::accounts_table_name = <a class="el" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(<a class="el" href="structeosio_1_1generic__currency_1_1account.html">account</a>)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ad8da6c376cee10ea81135e399ffa031e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad8da6c376cee10ea81135e399ffa031e">&#9670;&nbsp;</a></span>code</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Token &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> <a class="el" href="classeosio_1_1generic__currency.html">eosio::generic_currency</a>&lt; Token &gt;::code = token_type::code</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="af9ff021f61805a1eec118685013c6952"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af9ff021f61805a1eec118685013c6952">&#9670;&nbsp;</a></span>stats_table_name</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Token &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> <a class="el" href="classeosio_1_1generic__currency.html">eosio::generic_currency</a>&lt; Token &gt;::stats_table_name = <a class="el" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(stat)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="af08bb98a1c7d7946844b716a4da6e951"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af08bb98a1c7d7946844b716a4da6e951">&#9670;&nbsp;</a></span>symbol</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Token &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> <a class="el" href="classeosio_1_1generic__currency.html">eosio::generic_currency</a>&lt; Token &gt;::symbol = token_type::symbol</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>contracts/eoslib/<a class="el" href="generic__currency_8hpp_source.html">generic_currency.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
